#ifndef ORIONWINDOW_H
#define ORIONWINDOW_H

#include <iostream>
#include <QtGui/QMainWindow>
#include <QHBoxLayout>
#include <QFrame>
#include <QAction>
#include <QToolBar>
#include <QShortcut>
#include "manage_tabs.h"

class OrionWindow : public QMainWindow
{
    Q_OBJECT

public:
    OrionWindow();
    ~OrionWindow();
    QString readAllFile(const QString& filename) const;

protected:
    void createActions();
    void createMenus();
    void createShortcuts();
    void setSignals();
    
    // Menus
    QMenu* fileMenu;
    QMenu* aboutMenu;

    // Actions do Menu
    QAction* newTabAction;
    QAction* closeTabAction;
    QAction* exitAction;
    QAction* helpAction;
    QAction* aboutAction;

    // Actions da ToolBar


    // Shortcuts
    QShortcut* moveTabLeft;
    QShortcut* moveTabRight;
    QShortcut* setFocusInUrl;

    ManageTabs* manageTabs;

public slots:
    void adjustTitle(const QString& title);
    void newEmptyTab();
    void closeApp();
    void help();
    void about();

};

#endif // ORIONWINDOW_H
